/*
 * Copyright Owen Watson 2009
 * 
 * This file is part of ArtNotes.
 *
 * ArtNotes is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.

 * ArtNotes is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with ArtNotes.  If not, see <http://www.gnu.org/licenses/>.
*/

using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using SQLite;

namespace ArtNotes
{
	/// <summary>
	/// Like the Image table, this provides an area to store
	/// all the metadata about an image from Flickr.
	/// Although some of the fields are duplicated between this
	/// and the Image table, the current thinking is that
	/// they may want / need to be different, however
	/// this may change in a future version.
	/// </summary>
	[Preserve (AllMembers = true)]
	public class FlickrImage
	{
		[PrimaryKey, AutoIncrement]
		public int Id { get; set; }

		public int ImageID {get; set;}
		
		public string PhotoID {get; set;}
		
		public string Title {get; set;}
		
		public string License {get; set;}
		
		public string OwnerName {get; set;}
		
		public string Description {get; set;}
		
		public double Lattitude {get; set;}
		
		public double Longitude {get; set;}
		
		public override string ToString ()
		{
			return PhotoID;
		}
	}
}
